import React, { Component, Fragment } from 'react';
import Main from './Yxcart/cartMain'
import Foot from './Yxcart/cartFoot'

class yxcart extends Component {
    state={
        msg:"xieyijia"
    }
    handleClick=(value)=>{
        console.log(value)
        this.setState({
            getmsg:value
        })
    }
    render() {
        return (
           <Fragment>
               <Main getMsg={this.handleClick}></Main>
               <Foot></Foot>
           </Fragment>
        );
    }
}

export default yxcart;
